package com.xsd.adapter.ObjectAdapter;

/**
 * @Description: 客户端
 * @Author: zhoufuzong
 * @Created: 2021-02-14 15:27:14
 * @Version: 1.1.0
 */

public class Client {
    public static void main(String[] args) {
        System.out.println("类适配器模式*******");
        Phone phone = new Phone();
        phone.charging(new VolatageAdapter(new Volatage220V()));
    }
}
